#include "Select.hpp"
#include <string>
int main(int argc, char *argv[])
{
    if (argc != 2)
    {
        std::cout << "usage: " << argv[0] << " " << "port";
        exit(1);
    }
    u_int16_t localport = std::stoi(argv[1]);
    std::unique_ptr<Select> selsever = std::make_unique<Select>(localport);
    selsever->Init();
    selsever->Start();
    return 0;
}